/**
 * 
 */
package com.curso.sesion7;

/**
 * @author Peter
 *
 */
public class Hija extends Padre {

	public Hija(){

		System.out.println("Contrucutor de la hija");  // sobre carga 
	}

	public void testEx() throws LBException1 {    
		throw new LBException1();        
	} 

	public int giveMeMyNumber(Integer number, Integer number2) throws LBException{
		return number * number2;
	}
	
	public int giveMeMyNumber(Integer number, Long number2){
		return number * number2.intValue();
	}
	
	public int giveMeMyNumber(Long number, Integer number2){
		return number.intValue() * number2;
	}
	
	public int giveMeMyNumber(Integer number, Integer number2, Integer number3){
		return number * number3;

}
	
}